my_list = [1,2,3,4,5]
result = "-".join(map(str,my_list))
print(result)